package com.boe.common.util;

import com.google.common.base.Strings;

public class ObjectUtil {

    public static boolean hasValue(Object value) {
        if (value == null) return false;
        if (value instanceof String) {
            return !Strings.isNullOrEmpty((String) value);
        }
        return true;
    }
}
